FROM klakegg/hugo:ext-alpine

RUN apk add git

RUN git clone --recurse-submodules --depth 1 https://github.com/google/docsy-example.git /src

RUN hugo mod get -u

#RUN npm install -D autoprefixer postcss-cli postcss

# Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z
EXPOSE 1313
#ENTRYPOINT hugo serve --bind 0.0.0.0 -D

ENV LANG C.UTF-8